"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.request = exports.URL = exports.Params = void 0;
var util_1 = require("../../../utils/util");
var Params = /** @class */ (function () {
    function Params() {
    }
    return Params;
}());
exports.Params = Params;
exports.URL = '/api/menu/detail';
/**
 * @desc 获取菜单详情
 */
function request(params, options) {
    var url = '/api/menu/detail';
    var fetchOption = Object.assign({
        url: url,
        method: 'POST',
        headers: {
            'Content-Type': 'application/json',
        },
        params: params,
    }, options);
    return util_1.fetch(fetchOption);
}
exports.request = request;
